# 第一种方式，import
import my_info

print(my_info.name)
my_info.info()

import my_info as a

print(a.name)
a.info()

# 第二种方式, from import
from my_info import name, info  # 导入具体的变量名称，和函数名称

print(name)
info()

from my_info import *  # 通配符，导入所有

print(name)
info()
